package com.hyt.it.ogt.kq.service.gov.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.kq.service.gov.model.entity.TaskRoomTestReport;
import com.hyt.it.ogt.kq.service.gov.model.param.TestReportResultParam;
import com.hyt.it.ogt.kq.service.gov.model.vo.TestReportResultDetailVO;
import com.hyt.it.ogt.kq.service.gov.model.vo.TestReportResultVO;

/**
 * <p>
 * 考场测试报告表 服务类
 * </p>
 *
 * @author huangyh
 * @since 2021-08-13
 */
public interface ITaskRoomTestReportService extends IService<TaskRoomTestReport> {

    /**
     * 根据考试任务id、考场id 获取测试报告
     * @param taskId 考试任务id
     * @param roomId 考场id
     * @return 测试报告
     */
    TaskRoomTestReport getByTaskRoom(String taskId, String roomId);

    /**
     * 获取测试报告分页
     * @param pageParam
     * @param param
     * @return
     */
    Page<TestReportResultVO> pageList(Page<TestReportResultParam> pageParam, TestReportResultParam param);

    /**
     * 获取详情
     * @param testReportId
     * @return
     */
    TestReportResultDetailVO detail(String testReportId);

}
